Skip to content

Conversation

@MrSidims
Copy link
Contributor

These corner cases are:

  1. AccessChain uses are optimized out of LLVM IR modules, leaving the call unused;
  2. AccessChain result is used in GEP 0,0 instruction for bfloat16 (instead of the immidiate use by load or store).

All of these issues are or will be fixed in our drivers, but since the cadence of the driver update is relatively big the W/A is added in the frontend for an immediate fix.

These corner cases are:
1. AccessChain uses are optimized out of LLVM IR modules, leaving the
   call unused;
2. AccessChain result is used in GEP 0,0 instruction for bfloat16
   (instead of the immidiate use by load or store).

All of these issues are or will be fixed in our drivers, but since the
cadence of the driver update is relatively big the W/A is added in the
frontend for an immediate fix.

Signed-off-by: Sidorov, Dmitry <[email protected]>
@MrSidims MrSidims requested a review from a team as a code owner October 17, 2024 10:11
Copy link
Contributor

@maarquitos14 maarquitos14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a few nits and one question: should we open an issue to remind us to remove this W/A when possible?

@MrSidims
Copy link
Contributor Author

LGTM, just a few nits and one question: should we open an issue to remind us to remove this W/A when possible?

Sure, I can open it. But first I need to create a tracker to say, that the issue exists in the first place...

Copy link
Contributor

@YuriPlyakhin YuriPlyakhin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. one possible nit improvement.

Signed-off-by: Sidorov, Dmitry <[email protected]>
@MrSidims MrSidims requested a review from maarquitos14 October 18, 2024 18:11
@MrSidims
Copy link
Contributor Author

LGTM, just a few nits and one question: should we open an issue to remind us to remove this W/A when possible?

I've created an internal tracker for this.

@MrSidims
Copy link
Contributor Author

@intel/llvm-gatekeepers please help with the merge

@MrSidims MrSidims requested a review from a team October 21, 2024 15:08
@sarnex
Copy link
Contributor

sarnex commented Oct 21, 2024

image

No idea, probably some issue on Github's end, I'll keep trying.

@sarnex sarnex closed this Oct 21, 2024
@sarnex sarnex reopened this Oct 21, 2024
@sarnex
Copy link
Contributor

sarnex commented Oct 21, 2024

Still stuck, hopefully it fixes itself lol

@sarnex sarnex merged commit 5a47298 into intel:sycl Oct 21, 2024
19 of 22 checks passed
@sarnex
Copy link
Contributor

sarnex commented Oct 21, 2024

we did it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants